﻿@model ZhongheCms.Models.GswTblMember
@{
	
    Layout = "~/Views/Shared/_LayoutWebsite.cshtml";
    string mystate = "[审核中]";
    if (Model.AuditFlag == 1)
    {
        mystate = "";
    }
    string myworktime = "";
    string chk1 = "";
    string chk2 = "";
    string chk3 = "";
    string chk4 = "";
    string chk5 = "";
    string chk6 = "";
    string chk7 = "";
    string s1 = "";
    string s2 = "";
    string s3 = "";
    string s4 = "";
    string s5 = "";
    string s6 = "";
    string s7 = "";
    string mydate = "";
}
@section head
{
    <link href="/assets/sunjob/css/user.css" rel="stylesheet" />
    @*  <link href="/assets/sunjob/css/table.css" rel="stylesheet" />*@
}
<div class="container_24 clearfix" id="orderWrapper">
      <table width="1170" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td height="44" align="left" valign="top">
                <table width="1170" height="36" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td align="left" valign="middle" class="ling">首页　&gt; <a href="/SunJob/MemberCenter">会员中心</a>&gt;我的时间</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="left" valign="top">
                <table width="1170" border="0" cellpadding="0" cellspacing="0">
                    <tr align="left" valign="top">
                        <td width="190">
                            <table width="190" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="left" valign="top">
                                        <table width="190" height="102" border="0" cellpadding="0" cellspacing="1" style="background-color: #FFCC97">
                                            <tr>
                                                <td width="188" height="100" align="center" valign="middle" style="background-image: url(/assets/sunjob/images/left-huiyuanbg.jpg)">
                                                    <table width="150" border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td height="22" align="left" valign="middle" class="name">
                                                                <img src="/assets/sunjob/images/left-huiyuanpic.jpg" width="24" height="18" align="absmiddle">&nbsp; @Model.MemberName</td>
                                                        </tr>
                                                        <tr>
                                                            <td height="22" align="left" valign="middle" class="ling">积分：@Model.MemberPoint</td>
                                                        </tr>
                                                        <tr>
                                                            <td height="22" align="left" valign="middle" class="ling">@Model.MemberType <span>@mystate</span></td>
                                                        </tr>
                                                        <tr>
                                                            <td height="22" align="left" valign="middle" class="leftxiu"><a href="/SunJob/UserInfoEdit/@Model.Id">修改个人资料</a></td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="10" align="left" valign="top"></td>
                                </tr>
                                <tr>
                                    <td align="left" valign="top">
                                        <table width="190" height="234" border="0" cellpadding="0" cellspacing="1" style="background-color: #FFCC97">
                                            <tr>
                                                <td align="center" valign="top" bgcolor="#FFFFFF">
                                                    <table width="188" border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td align="left" valign="top">
                                                                <img src="/assets/sunjob/images/left-tongzhi.jpg" width="188" height="31"></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="center" valign="top">
                                                                <table width="154" border="0" cellpadding="0" cellspacing="0">
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a href="/SunJob/UserMsg/@Model.Id">录取通知</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a href="/SunJob/UserMsg1/@Model.Id">领薪通知</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a  href="/SunJob/MemberTime/@Model.Id">我的时间</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a  href="/SunJob/MemberJob/@Model.Id">我的工作</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a  href="/SunJob/MemberHelpAdd/@Model.Id">需求发布</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a href="/SunJob/MemberHelpList/@Model.Id">我的需求</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a  href="/SunJob/MemberOrder/@Model.Id">我的订单</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a  href="/SunJob/MemberJobpub/@Model.Id">职位发布</a></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="10" align="left" valign="top"></td>
                                </tr>
                                <tr>
                                    <td align="left" valign="top">
                                        <table width="190" height="128" border="0" cellpadding="0" cellspacing="1" style="background-color: #FFCC97">
                                            <tr>
                                                <td align="center" valign="top" style="background-color: #FFFFFF">
                                                    <table width="188" border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td align="left" valign="top">
                                                                <img src="/assets/sunjob/images/left-geren.jpg" width="188" height="31"></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="center" valign="top">
                                                                <table width="154" border="0" cellpadding="0" cellspacing="0">
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a  href="/SunJob/UserInfoEdit/@Model.Id">个人资料</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a  href="/SunJob/ChangePassword/@Model.Id">修改密码</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="1" align="left" valign="middle">
                                                                            <img src="/assets/sunjob/images/left-tongzhiline.jpg" width="154" height="1"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="27" align="center" valign="middle" class="leftmenu"><a  href="/SunJob/MemberPoint/@Model.Id">我的积分</a></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="left" valign="top">&nbsp;</td>
                                </tr>
                            </table>
                        </td>
                        <td width="15">&nbsp;</td>
                        <td>
                             
                               <table width="965" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="left" valign="top"><img src="/assets/sunjob/images/shijianbt.jpg" width="112" height="38" align="absmiddle"></td>
              </tr>
              <tr>
                  <td align="center" valign="top">
                       <form action="/SunJob/MemberTime/@Model.Id" method="post">
                      <table width="850" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFCC97">
                          <tr align="center" valign="middle" bgcolor="#FD933D" class="shijian">
                              <td width="150" height="50">时间</td>
                              <td width="100" height="50">星期一</td>
                              <td width="100" height="50">星期二</td>
                              <td width="100" height="50">星期三</td>
                              <td width="100" height="50">星期四</td>
                              <td width="100" height="50">星期五</td>
                              <td width="100" height="50">星期六</td>
                              <td width="100" height="50">星期日</td>
                          </tr>
                          @foreach (var item in Model.MemberTimes)
                          {
                              mydate = item.LastDate.ToShortDateString();
                              chk1 = "chk1" + item.Id;
                              chk2 = "chk2" + item.Id;
                              chk3 = "chk3" + item.Id;
                              chk4 = "chk4" + item.Id;
                              chk5 = "chk5" + item.Id;
                              chk6 = "chk6" + item.Id;
                              chk7 = "chk7" + item.Id;
                              s1 = "";
                              s2 = "";
                              s3 = "";
                              s4 = "";
                              s5 = "";
                              s6 = "";
                              s7 = "";
                              if (item.D1 == 1)
                              {
                                  s1 = "checked";
                              }
                              if (item.D2 == 1)
                              {
                                  s2 = "checked";
                              }
                              if (item.D3 == 1)
                              {
                                  s3 = "checked";
                              }
                              if (item.D4 == 1)
                              {
                                  s4 = "checked";
                              }
                              if (item.D5 == 1)
                              {
                                  s5 = "checked";
                              }
                              if (item.D6 == 1)
                              {
                                  s6 = "checked";
                              }
                              if (item.D7 == 1)
                              {
                                  s7 = "checked";
                              }
                              <tr align="center" valign="middle" bgcolor="#FFFFFF" height="50">
                             
                             
                                  <td class="leftmenu">
                                      @item.WorkTime

                                  </td>
                                  <td>
                                      <input type="checkbox" id="@chk1" name="@chk1" value="1" @s1/></td>
                                  <td>
                                      <input type="checkbox" id="@chk2" name="@chk2" value="1" @s2/>
                                  </td>
                                  <td>

                                      <input type="checkbox" id="@chk3" name="@chk3" value="1" @s3/>

                                  </td>
                                  <td>
                                      <input type="checkbox" id="@chk4" name="@chk4" value="1" @s4/>
                                  </td>
                                  <td>
                                      <input type="checkbox" id="@chk5" name="@chk1" value="1" @s5/>
                                  </td>
                                  <td>

                                      <input type="checkbox" id="@chk6" name="@chk6" value="1" @s6/>
                                  </td>
                                  <td>

                                      <input type="checkbox" id="@chk7" name="@chk7" value="1" @s7/>
                                  </td>
                          
                              </tr>
                         
                          }
                 
                          <tr align="center" valign="middle" bgcolor="#FFFFFF">
                              <td height="60" colspan="8" class="leftmenu"><table width="780" border="0" cellpadding="0" cellspacing="0">
                                                                               <tr align="left" valign="top">
                                                                                   <td width="580" class="leftmenu">更新日期:@mydate</td>
                                                                                   <td width="200" align="right">
                                                                                       <div class="submitWrapper3" style="margin: 0px">
                                                                                           <input type="submit" value="确认并提交" class="button button01" />
                                                                                       </div>
                                                                                   </td>
                                                                               </tr>
                                                                           </table></td>
                          </tr>
                      </table>
                 </form>
                            </td>
              </tr>
            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </div>

